let nextTaskId = Number(localStorage.getItem("nextTaskId") || 0);
export default function getNextTaskId() {
  nextTaskId += 1;
  localStorage.setItem("nextTaskId", nextTaskId);
  return nextTaskId;
}
